<!DOCTYPE html>
<html>
  <head>
    <title>canvas background</title>
    <style type="text/css">
      html,
      body,
      .canvas-background {
        padding: 0;
        margin: 0;
        width: 100%;
        height: 100%;
        overflow: hidden;
      }
      .canvas-background {
        background-repeat: no-repeat;
        -webkit-background-size: cover;
        background-size: cover;
        background-position: 0 0;
      }
      .canvas-background canvas {
        position: absolute;
        top: 0;
        left: 0;
      }
    </style>
  </head>
  <body>
    <div
      class="canvas-background"
      style="background-image: url(../../assets/bg_tiles.jpg)"
    ></div>
    <script src="jquery.min.js"></script>
    <script src="main.js"></script>
  </body>
</html>
